img,
video {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}
.editor-content-view {
  padding: 0 10px;
  margin: 10px 0;
}

.editor-content-view p,
.editor-content-view li {
  margin: 10px 0;
  white-space: pre-wrap; /* 保留空格 */
}

.editor-content-view blockquote {
  border-left: 8px solid #d0e5f2;
  padding: 10px 10px;
  margin: 10px 0;
  background-color: var(--editor-blockquote);
}

.editor-content-view code {
  font-family: monospace;
  background-color: var(--editor-code);
  padding: 3px;
  border-radius: 3px;
}
.editor-content-view pre > code {
  white-space: pre-wrap; /* CSS3 */
  white-space: -moz-pre-wrap; /* Firefox */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ and Chrome */
  display: block;
  padding: 10px;
}

.editor-content-view table {
  border-collapse: collapse;
}
.editor-content-view td,
.editor-content-view th {
  border: 1px solid #ccc;
  min-width: 50px;
  height: 20px;
}
.editor-content-view th {
  background-color: #f1f1f1;
}

.editor-content-view ul,
.editor-content-view ol {
  padding-left: 20px;
}

.editor-content-view input[type="checkbox"] {
  margin-right: 5px;
}
